package com.wing.user.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.user.model.entity.WarehouseUser;
import com.wing.warehouse.model.response.WarehouseUserAuthVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface WarehouseUserDao extends BaseMapper<WarehouseUser> {

    WarehouseUserAuthVO getByUsername(@Param("account") String account);

    Page<WarehouseUser> pageList4app(Page<WarehouseUser> pg, @Param("params") Map paramMap);
}